<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>etime</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : 16/12/2004</div>
    <p>
      <b>etime</b> - Elapsed time</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>e = etime(t2,t1)</tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>t2</b>
        </tt>: a vector with 6 or 10 values.</li>
      <li>
        <tt>
          <b>t1</b>
        </tt>: a vector with 6 or 10 values.</li>
      <li>
        <tt>
          <b>e</b>
        </tt>: number of seconds between <tt>
          <b>t2</b>
        </tt> and <tt>
          <b>t1</b>
        </tt>.</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <dl>
      <dd>
        <b>t1 and t2 with 10 values</b>: <tt>
          <b>t2</b>
        </tt> and <tt>
          <b>t1</b>
        </tt> must have format returned by <tt>
          <b>getdate</b>
        </tt>. 
	In this case, their third, fourth and fifth values are ignored.</dd>
      <dd>
        <b>t1 and t2 with 6 values</b>: <tt>
          <b>t2</b>
        </tt> and <tt>
          <b>t1</b>
        </tt> must have format: T = [Year Month Day Hour Minute Second]
	with Second a number of seconds with milliseconds (e.g: 12.345).</dd>
    </dl>
    <p>
      <tt>
        <b>t2</b>
      </tt> and <tt>
        <b>t1</b>
      </tt> must have the same size.</p>
    <p>
      <tt>
        <b>t2</b>
      </tt> et <tt>
        <b>t1</b>
      </tt> can be matrices with each line containing a format
    described above (all lines having same format).</p>
    <h3>
      <font color="blue">Examples</font>
    </h3>
    <pre>

t1=[2004 06 10 17 00 12.345]
t2=[2004 06 10 17 01 13.965]
E1=etime(t2,t1)
t1=[2004 06 24 162 5 10 17 00 12 345]
t2=[2004 06 24 162 5 10 17 01 13 965]
E2=etime(t2,t1)
 
  </pre>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="tic.htm">
        <tt>
          <b>tic</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="toc.htm">
        <tt>
          <b>toc</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="getdate.htm">
        <tt>
          <b>getdate</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="etime.htm">
        <tt>
          <b>etime</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
    <h3>
      <font color="blue">Authors</font>
    </h3>
    <dl>
      <dd>
        <b></b>V.C.</dd>
    </dl>
  </body>
</html>
